#ifndef __ADC_DRV_H__
#define __ADC_DRV_H__

#include "stdint.h"
#include "stdbool.h"


#define ADC_MAX_VAL 0x0FFF

enum adc_channel_sel {
	NTC_TEMP_CH = 0,
	MCU_TEMP_CH,
	BATTERY_CH,
	MOTOR_CH,
	CH_NUM,
};


uint16_t adc_drv_read_adc_value(enum adc_channel_sel adc_channel_sel);
uint16_t adc_drv_get_mcu_temp(void);
void SortAscending(uint16_t *Pst_Source, uint8_t CNT);


#endif
